{extend name="base" /}


{block name="main"}
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-12">
            <div class="card">
                <div class="card-header">add skiing park</div>

                <div class="card-body">
                    <form method="POST" action="{:url('admin/postSp')}">

                        <div class="form-group row">
                            <label class="col-md-4 col-form-label text-md-right">name</label>
                            <div class="col-md-6">
                                <input type="text" class="form-control" name="name" required>
                            </div>
                        </div>

                        <div class="form-group row">
                            <label class="col-md-4 col-form-label text-md-right">description</label>
                            <div class="col-md-6">
                                <textarea name="desc" class="form-control" rows="3" required></textarea>
                            </div>
                        </div>

                        <div class="form-group row">
                            <label class="col-md-4 col-form-label text-md-right">area</label>
                            <div class="col-md-6">
                                <input type="text" class="form-control" name="area" required>
                            </div>
                        </div>

                        <div class="form-group row">
                            <label class="col-md-4 col-form-label text-md-right">pic</label>
                            <div class="col-md-6">
                                <textarea name="pic" class="form-control" rows="3" required></textarea>
                            </div>
                        </div>

                        <div class="form-group row mb-0">
                            <div class="col-md-6 offset-md-4">
                                <button type="submit" class="btn btn-primary">
                                    Add
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}

{block name="js"}
<script type="application/javascript">

</script>
{/block}